<div class="form-group">
	<label class="col-sm-2 control-label">
		<?php echo $params['label']; ?>
	</label>
	
	<div class="multicheck col-sm-7">
			<?php foreach($params['options'] as $optionName => $optionValue) { ?>
			<label><input type="checkbox" <?php echo $htmlOptions ?> <?php if (in_array($optionName, (array)$value)) {echo 'checked';} ?> 
			name="<?php echo $params['name'] ?>[]"
			value="<?php echo $optionName ?>"> <?php echo $optionValue; ?></label>
			<?php } ?>
	</div>

	<?php if (!empty($params['errors'])) { ?>
	<div class="errors">
		<ul>
			<?php foreach($params['errors'] as $error) { ?>
			<li><?php echo $error ?></li>
			<?php } ?>
		</ul>
	</div>
	<?php } ?>
</div>